<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: Graph API: Converting image from one color space to another</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Graph API: Converting image from one color space to another<div class="ingroups"><a class="el" href="../../d2/d00/group__gapi__imgproc.html">G-API Image processing functionality</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad78d0756339b84ed0fed49ac3b7dae01"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad78d0756339b84ed0fed49ac3b7dae01">cv::gapi::BayerGR2RGB</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_gr)</td></tr>
<tr class="memdesc:gad78d0756339b84ed0fed49ac3b7dae01"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BayerGR color space to RGB. The function converts an input image from BayerGR color space to RGB. The conventional ranges for G, R, and B channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#gad78d0756339b84ed0fed49ac3b7dae01">More...</a><br/></td></tr>
<tr class="separator:gad78d0756339b84ed0fed49ac3b7dae01"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3e8fd8197ab16811caf9b31cb1e08a05"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3e8fd8197ab16811caf9b31cb1e08a05">cv::gapi::BGR2Gray</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga3e8fd8197ab16811caf9b31cb1e08a05"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BGR color space to gray-scaled.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga3e8fd8197ab16811caf9b31cb1e08a05">More...</a><br/></td></tr>
<tr class="separator:ga3e8fd8197ab16811caf9b31cb1e08a05"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaca3b4d4564ab8e30849f8827bd6cc715"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaca3b4d4564ab8e30849f8827bd6cc715">cv::gapi::BGR2I420</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gaca3b4d4564ab8e30849f8827bd6cc715"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BGR color space to I420 color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaca3b4d4564ab8e30849f8827bd6cc715">More...</a><br/></td></tr>
<tr class="separator:gaca3b4d4564ab8e30849f8827bd6cc715"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga163bb69f25a0dfd9aeb3eebe380842bb"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga163bb69f25a0dfd9aeb3eebe380842bb">cv::gapi::BGR2LUV</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga163bb69f25a0dfd9aeb3eebe380842bb"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BGR color space to LUV color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga163bb69f25a0dfd9aeb3eebe380842bb">More...</a><br/></td></tr>
<tr class="separator:ga163bb69f25a0dfd9aeb3eebe380842bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa0a47ab76ba9519d0972a97d468366b2"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaa0a47ab76ba9519d0972a97d468366b2">cv::gapi::BGR2RGB</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gaa0a47ab76ba9519d0972a97d468366b2"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BGR color space to RGB color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaa0a47ab76ba9519d0972a97d468366b2">More...</a><br/></td></tr>
<tr class="separator:gaa0a47ab76ba9519d0972a97d468366b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf9b408ae08a97bebe001d3227b22dbd5"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaf9b408ae08a97bebe001d3227b22dbd5">cv::gapi::BGR2YUV</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gaf9b408ae08a97bebe001d3227b22dbd5"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from BGR color space to YUV color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaf9b408ae08a97bebe001d3227b22dbd5">More...</a><br/></td></tr>
<tr class="separator:gaf9b408ae08a97bebe001d3227b22dbd5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga855cf3f8b832742bbe77c4bc4c727705"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga855cf3f8b832742bbe77c4bc4c727705">cv::gapi::I4202BGR</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga855cf3f8b832742bbe77c4bc4c727705"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from I420 color space to BGR color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga855cf3f8b832742bbe77c4bc4c727705">More...</a><br/></td></tr>
<tr class="separator:ga855cf3f8b832742bbe77c4bc4c727705"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga499ca61dc623ca59e414b81b84505a15"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga499ca61dc623ca59e414b81b84505a15">cv::gapi::I4202RGB</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga499ca61dc623ca59e414b81b84505a15"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from I420 color space to BGR color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga499ca61dc623ca59e414b81b84505a15">More...</a><br/></td></tr>
<tr class="separator:ga499ca61dc623ca59e414b81b84505a15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad83380f5b614aebd9430c09800e12849"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad83380f5b614aebd9430c09800e12849">cv::gapi::LUV2BGR</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gad83380f5b614aebd9430c09800e12849"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from LUV color space to BGR color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#gad83380f5b614aebd9430c09800e12849">More...</a><br/></td></tr>
<tr class="separator:gad83380f5b614aebd9430c09800e12849"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga26fa592432479d54a56e66227f818d7c"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga26fa592432479d54a56e66227f818d7c">cv::gapi::NV12toBGR</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_y, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_uv)</td></tr>
<tr class="memdesc:ga26fa592432479d54a56e66227f818d7c"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga26fa592432479d54a56e66227f818d7c">More...</a><br/></td></tr>
<tr class="separator:ga26fa592432479d54a56e66227f818d7c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa41eebd2d72389dcf282850520bd8498"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaa41eebd2d72389dcf282850520bd8498">cv::gapi::NV12toBGRp</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_y, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_uv)</td></tr>
<tr class="memdesc:gaa41eebd2d72389dcf282850520bd8498"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to BGR. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaa41eebd2d72389dcf282850520bd8498">More...</a><br/></td></tr>
<tr class="separator:gaa41eebd2d72389dcf282850520bd8498"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf44bcc7b1d8636d5c0b4425805dd00e0"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaf44bcc7b1d8636d5c0b4425805dd00e0">cv::gapi::NV12toGray</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_y, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_uv)</td></tr>
<tr class="memdesc:gaf44bcc7b1d8636d5c0b4425805dd00e0"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from NV12 (YUV420p) color space to gray-scaled. The function converts an input image from NV12 color space to gray-scaled. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaf44bcc7b1d8636d5c0b4425805dd00e0">More...</a><br/></td></tr>
<tr class="separator:gaf44bcc7b1d8636d5c0b4425805dd00e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0a8da2537ef9dd90d97e4681ca0ff6c6"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6">cv::gapi::NV12toRGB</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_y, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_uv)</td></tr>
<tr class="memdesc:ga0a8da2537ef9dd90d97e4681ca0ff6c6"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6">More...</a><br/></td></tr>
<tr class="separator:ga0a8da2537ef9dd90d97e4681ca0ff6c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga827c85675868381815af086868e450d6"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga827c85675868381815af086868e450d6">cv::gapi::NV12toRGBp</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_y, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src_uv)</td></tr>
<tr class="memdesc:ga827c85675868381815af086868e450d6"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga827c85675868381815af086868e450d6">More...</a><br/></td></tr>
<tr class="separator:ga827c85675868381815af086868e450d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2adcde9d63378940740c7b54fd00956c"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga2adcde9d63378940740c7b54fd00956c">cv::gapi::RGB2Gray</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga2adcde9d63378940740c7b54fd00956c"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to gray-scaled.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga2adcde9d63378940740c7b54fd00956c">More...</a><br/></td></tr>
<tr class="separator:ga2adcde9d63378940740c7b54fd00956c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8238eab93515169d2d66b50ee8a0285b"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga8238eab93515169d2d66b50ee8a0285b">cv::gapi::RGB2Gray</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, float rY, float gY, float bY)</td></tr>
<tr class="separator:ga8238eab93515169d2d66b50ee8a0285b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadaaa97be932cab83d3f35f731bfe0da0"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gadaaa97be932cab83d3f35f731bfe0da0">cv::gapi::RGB2HSV</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gadaaa97be932cab83d3f35f731bfe0da0"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to HSV. The function converts an input image from RGB color space to HSV. The conventional ranges for R, G, and B channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#gadaaa97be932cab83d3f35f731bfe0da0">More...</a><br/></td></tr>
<tr class="separator:gadaaa97be932cab83d3f35f731bfe0da0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5236e6f6382928b70ddda9f8666e4aec"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga5236e6f6382928b70ddda9f8666e4aec">cv::gapi::RGB2I420</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga5236e6f6382928b70ddda9f8666e4aec"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to I420 color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga5236e6f6382928b70ddda9f8666e4aec">More...</a><br/></td></tr>
<tr class="separator:ga5236e6f6382928b70ddda9f8666e4aec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga74589c39069c4d068940b521990206cd"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga74589c39069c4d068940b521990206cd">cv::gapi::RGB2Lab</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga74589c39069c4d068940b521990206cd"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to Lab color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga74589c39069c4d068940b521990206cd">More...</a><br/></td></tr>
<tr class="separator:ga74589c39069c4d068940b521990206cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3cc413473e72f242f65a6df44e929d05"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05">cv::gapi::RGB2YUV</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga3cc413473e72f242f65a6df44e929d05"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to YUV color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05">More...</a><br/></td></tr>
<tr class="separator:ga3cc413473e72f242f65a6df44e929d05"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2698756bd4be47c4bda06be15007534f"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga2698756bd4be47c4bda06be15007534f">cv::gapi::RGB2YUV422</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga2698756bd4be47c4bda06be15007534f"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from RGB color space to YUV422. The function converts an input image from RGB color space to YUV422. The conventional ranges for R, G, and B channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#ga2698756bd4be47c4bda06be15007534f">More...</a><br/></td></tr>
<tr class="separator:ga2698756bd4be47c4bda06be15007534f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad322eb34ae0d3ca84e4666fd5351bec9"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9">cv::gapi::YUV2BGR</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gad322eb34ae0d3ca84e4666fd5351bec9"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from YUV color space to BGR color space.  <a href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9">More...</a><br/></td></tr>
<tr class="separator:gad322eb34ae0d3ca84e4666fd5351bec9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaeeefe27c05d76f4dd91ec089e59b3e5a"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a">cv::gapi::YUV2RGB</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gaeeefe27c05d76f4dd91ec089e59b3e5a"><td class="mdescLeft"> </td><td class="mdescRight">Converts an image from YUV color space to RGB. The function converts an input image from YUV color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255.  <a href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a">More...</a><br/></td></tr>
<tr class="separator:gaeeefe27c05d76f4dd91ec089e59b3e5a"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gad78d0756339b84ed0fed49ac3b7dae01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad78d0756339b84ed0fed49ac3b7dae01">◆ </a></span>BayerGR2RGB()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BayerGR2RGB </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_gr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BayerGR color space to RGB. The function converts an input image from BayerGR color space to RGB. The conventional ranges for G, R, and B channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bayergr2rgb"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_gr</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9" title="Converts an image from YUV color space to BGR color space. ">YUV2BGR</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGB</a> </dd></dl>
</div>
</div>
<a id="ga3e8fd8197ab16811caf9b31cb1e08a05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e8fd8197ab16811caf9b31cb1e08a05">◆ </a></span>BGR2Gray()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BGR2Gray </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BGR color space to gray-scaled. </p>
<p>The conventional ranges for B, G, and R channel values are 0 to 255. Resulting gray color value computed as </p><p class="formulaDsp">
\[\texttt{dst} (I)= \texttt{0.114} * \texttt{src}(I).B + \texttt{0.587} * \texttt{src}(I).G + \texttt{0.299} * \texttt{src}(I).R \]
</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bgr2gray"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga163bb69f25a0dfd9aeb3eebe380842bb" title="Converts an image from BGR color space to LUV color space. ">BGR2LUV</a> </dd></dl>
</div>
</div>
<a id="gaca3b4d4564ab8e30849f8827bd6cc715"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaca3b4d4564ab8e30849f8827bd6cc715">◆ </a></span>BGR2I420()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BGR2I420 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BGR color space to I420 color space. </p>
<p>The function converts an input image from BGR color space to I420. The conventional ranges for R, G, and B channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 1-channel image. <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Width of I420 output image must be the same as width of input image. Height of I420 output image must be equal 3/2 from height of input image.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bgr2i420"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga855cf3f8b832742bbe77c4bc4c727705" title="Converts an image from I420 color space to BGR color space. ">I4202BGR</a> </dd></dl>
</div>
</div>
<a id="ga163bb69f25a0dfd9aeb3eebe380842bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga163bb69f25a0dfd9aeb3eebe380842bb">◆ </a></span>BGR2LUV()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BGR2LUV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BGR color space to LUV color space. </p>
<p>The function converts an input image from BGR color space to LUV. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bgr2luv"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga74589c39069c4d068940b521990206cd" title="Converts an image from RGB color space to Lab color space. ">RGB2Lab</a>, RGB2LUV </dd></dl>
</div>
</div>
<a id="gaa0a47ab76ba9519d0972a97d468366b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0a47ab76ba9519d0972a97d468366b2">◆ </a></span>BGR2RGB()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BGR2RGB </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BGR color space to RGB color space. </p>
<p>The function converts an input image from BGR color space to RGB. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image is 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bgr2rgb"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>RGB2BGR </dd></dl>
</div>
</div>
<a id="gaf9b408ae08a97bebe001d3227b22dbd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9b408ae08a97bebe001d3227b22dbd5">◆ </a></span>BGR2YUV()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::BGR2YUV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from BGR color space to YUV color space. </p>
<p>The function converts an input image from BGR color space to YUV. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.bgr2yuv"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9" title="Converts an image from YUV color space to BGR color space. ">YUV2BGR</a> </dd></dl>
</div>
</div>
<a id="ga855cf3f8b832742bbe77c4bc4c727705"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga855cf3f8b832742bbe77c4bc4c727705">◆ </a></span>I4202BGR()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::I4202BGR </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from I420 color space to BGR color space. </p>
<p>The function converts an input image from I420 color space to BGR. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image. <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. Width of BGR output image must be the same as width of input image. Height of BGR output image must be equal 2/3 from height of input image.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.i4202bgr"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaca3b4d4564ab8e30849f8827bd6cc715" title="Converts an image from BGR color space to I420 color space. ">BGR2I420</a> </dd></dl>
</div>
</div>
<a id="ga499ca61dc623ca59e414b81b84505a15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga499ca61dc623ca59e414b81b84505a15">◆ </a></span>I4202RGB()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::I4202RGB </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from I420 color space to BGR color space. </p>
<p>The function converts an input image from I420 color space to BGR. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image. <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. Width of RGB output image must be the same as width of input image. Height of RGB output image must be equal 2/3 from height of input image.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.i4202rgb"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga5236e6f6382928b70ddda9f8666e4aec" title="Converts an image from RGB color space to I420 color space. ">RGB2I420</a> </dd></dl>
</div>
</div>
<a id="gad83380f5b614aebd9430c09800e12849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad83380f5b614aebd9430c09800e12849">◆ </a></span>LUV2BGR()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::LUV2BGR </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from LUV color space to BGR color space. </p>
<p>The function converts an input image from LUV color space to BGR. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.luv2bgr"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga163bb69f25a0dfd9aeb3eebe380842bb" title="Converts an image from BGR color space to LUV color space. ">BGR2LUV</a> </dd></dl>
</div>
</div>
<a id="ga26fa592432479d54a56e66227f818d7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga26fa592432479d54a56e66227f818d7c">◆ </a></span>NV12toBGR()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::NV12toBGR </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_uv</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.nv12tobgr"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_y</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">src_uv</td><td>input image: 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9" title="Converts an image from YUV color space to BGR color space. ">YUV2BGR</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGB</a> </dd></dl>
</div>
</div>
<a id="gaa41eebd2d72389dcf282850520bd8498"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa41eebd2d72389dcf282850520bd8498">◆ </a></span>NV12toBGRp()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> cv::gapi::NV12toBGRp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_uv</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to BGR. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned planar 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Planar image memory layout is three planes laying in the memory contiguously, so the image height should be plane_height*plane_number, image type is <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.nv12torgbp"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_y</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">src_uv</td><td>input image: 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a" title="Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...">YUV2RGB</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga827c85675868381815af086868e450d6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGBp</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga26fa592432479d54a56e66227f818d7c" title="Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...">NV12toBGR</a> </dd></dl>
</div>
</div>
<a id="gaf44bcc7b1d8636d5c0b4425805dd00e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf44bcc7b1d8636d5c0b4425805dd00e0">◆ </a></span>NV12toGray()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::NV12toGray </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_uv</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from NV12 (YUV420p) color space to gray-scaled. The function converts an input image from NV12 color space to gray-scaled. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.nv12togray"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_y</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">src_uv</td><td>input image: 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a" title="Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...">YUV2RGB</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga26fa592432479d54a56e66227f818d7c" title="Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...">NV12toBGR</a> </dd></dl>
</div>
</div>
<a id="ga0a8da2537ef9dd90d97e4681ca0ff6c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a8da2537ef9dd90d97e4681ca0ff6c6">◆ </a></span>NV12toRGB()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::NV12toRGB </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_uv</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.nv12torgb"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_y</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">src_uv</td><td>input image: 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a" title="Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...">YUV2RGB</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga26fa592432479d54a56e66227f818d7c" title="Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...">NV12toBGR</a> </dd></dl>
</div>
</div>
<a id="ga827c85675868381815af086868e450d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga827c85675868381815af086868e450d6">◆ </a></span>NV12toRGBp()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> cv::gapi::NV12toRGBp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src_uv</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned planar 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Planar image memory layout is three planes laying in the memory contiguously, so the image height should be plane_height*plane_number, image type is <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.nv12torgbp"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_y</td><td>input image: 8-bit unsigned 1-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">src_uv</td><td>input image: 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a" title="Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...">YUV2RGB</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaa41eebd2d72389dcf282850520bd8498" title="Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...">NV12toBGRp</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGB</a> </dd></dl>
</div>
</div>
<a id="ga2adcde9d63378940740c7b54fd00956c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2adcde9d63378940740c7b54fd00956c">◆ </a></span>RGB2Gray() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2Gray </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.RGB2Gray(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to gray-scaled. </p>
<p>The conventional ranges for R, G, and B channel values are 0 to 255. Resulting gray color value computed as </p><p class="formulaDsp">
\[\texttt{dst} (I)= \texttt{0.299} * \texttt{src}(I).R + \texttt{0.587} * \texttt{src}(I).G + \texttt{0.114} * \texttt{src}(I).B \]
</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2gray"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05" title="Converts an image from RGB color space to YUV color space. ">RGB2YUV</a> </dd></dl>
</div>
</div>
<a id="ga8238eab93515169d2d66b50ee8a0285b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8238eab93515169d2d66b50ee8a0285b">◆ </a></span>RGB2Gray() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2Gray </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>rY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>gY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>bY</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.RGB2Gray(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Resulting gray color value computed as </p><p class="formulaDsp">
\[\texttt{dst} (I)= \texttt{rY} * \texttt{src}(I).R + \texttt{gY} * \texttt{src}(I).G + \texttt{bY} * \texttt{src}(I).B \]
</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2graycustom"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
    <tr><td class="paramname">rY</td><td>float multiplier for R channel. </td></tr>
    <tr><td class="paramname">gY</td><td>float multiplier for G channel. </td></tr>
    <tr><td class="paramname">bY</td><td>float multiplier for B channel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05" title="Converts an image from RGB color space to YUV color space. ">RGB2YUV</a> </dd></dl>
</div>
</div>
<a id="gadaaa97be932cab83d3f35f731bfe0da0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadaaa97be932cab83d3f35f731bfe0da0">◆ </a></span>RGB2HSV()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2HSV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to HSV. The function converts an input image from RGB color space to HSV. The conventional ranges for R, G, and B channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2hsv"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9" title="Converts an image from YUV color space to BGR color space. ">YUV2BGR</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGB</a> </dd></dl>
</div>
</div>
<a id="ga5236e6f6382928b70ddda9f8666e4aec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5236e6f6382928b70ddda9f8666e4aec">◆ </a></span>RGB2I420()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2I420 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to I420 color space. </p>
<p>The function converts an input image from RGB color space to I420. The conventional ranges for R, G, and B channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 1-channel image. <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Width of I420 output image must be the same as width of input image. Height of I420 output image must be equal 3/2 from height of input image.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2i420"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga499ca61dc623ca59e414b81b84505a15" title="Converts an image from I420 color space to BGR color space. ">I4202RGB</a> </dd></dl>
</div>
</div>
<a id="ga74589c39069c4d068940b521990206cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74589c39069c4d068940b521990206cd">◆ </a></span>RGB2Lab()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2Lab </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to Lab color space. </p>
<p>The function converts an input image from BGR color space to Lab. The conventional ranges for R, G, and B channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2lab"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05" title="Converts an image from RGB color space to YUV color space. ">RGB2YUV</a>, RGB2LUV </dd></dl>
</div>
</div>
<a id="ga3cc413473e72f242f65a6df44e929d05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3cc413473e72f242f65a6df44e929d05">◆ </a></span>RGB2YUV()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2YUV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to YUV color space. </p>
<p>The function converts an input image from RGB color space to YUV. The conventional ranges for R, G, and B channel values are 0 to 255.</p>
<p>In case of linear transformations, the range does not matter. But in case of a non-linear transformation, an input RGB image should be normalized to the proper value range to get the correct results, like here, at RGB \(\rightarrow\) Y*u*v* transformation. Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2yuv"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaeeefe27c05d76f4dd91ec089e59b3e5a" title="Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...">YUV2RGB</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga74589c39069c4d068940b521990206cd" title="Converts an image from RGB color space to Lab color space. ">RGB2Lab</a> </dd></dl>
</div>
</div>
<a id="ga2698756bd4be47c4bda06be15007534f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2698756bd4be47c4bda06be15007534f">◆ </a></span>RGB2YUV422()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::RGB2YUV422 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from RGB color space to YUV422. The function converts an input image from RGB color space to YUV422. The conventional ranges for R, G, and B channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 2-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3cb9fe9fa9bc4989f5a89035e2a994e3">CV_8UC2</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.rgb2yuv422"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gad322eb34ae0d3ca84e4666fd5351bec9" title="Converts an image from YUV color space to BGR color space. ">YUV2BGR</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga0a8da2537ef9dd90d97e4681ca0ff6c6" title="Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...">NV12toRGB</a> </dd></dl>
</div>
</div>
<a id="gad322eb34ae0d3ca84e4666fd5351bec9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad322eb34ae0d3ca84e4666fd5351bec9">◆ </a></span>YUV2BGR()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::YUV2BGR </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from YUV color space to BGR color space. </p>
<p>The function converts an input image from YUV color space to BGR. The conventional ranges for B, G, and R channel values are 0 to 255.</p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.yuv2bgr"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#gaf9b408ae08a97bebe001d3227b22dbd5" title="Converts an image from BGR color space to YUV color space. ">BGR2YUV</a> </dd></dl>
</div>
</div>
<a id="gaeeefe27c05d76f4dd91ec089e59b3e5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeeefe27c05d76f4dd91ec089e59b3e5a">◆ </a></span>YUV2RGB()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::YUV2RGB </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Converts an image from YUV color space to RGB. The function converts an input image from YUV color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. </p>
<p>Output image must be 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.colorconvert.yuv2rgb"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image: 8-bit unsigned 3-channel image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga74589c39069c4d068940b521990206cd" title="Converts an image from RGB color space to Lab color space. ">RGB2Lab</a>, <a class="el" href="../../dc/d38/group__gapi__colorconvert.html#ga3cc413473e72f242f65a6df44e929d05" title="Converts an image from RGB color space to YUV color space. ">RGB2YUV</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
